package com.euond.accv.mdm.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;

import com.alibaba.fastjson.annotation.JSONField;
import com.euond.common.domain.AbstractEntity;


@Entity
@Table(name="mdm_member")
@DynamicInsert //该注解会根据属性非空动态生成insert语句
public class MdmMember extends AbstractEntity<Integer> implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 
	 */
	@Id
	@Column(name="id")
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Integer id;
    
	/**
	 * 
	 */
    @Column(name="member_no")
    private String memberNo;
    
	/**
	 * 
	 */
    @Column(name="member_name")
    private String memberName;
    
	/**
	 * 
	 */
    @Column(name="member_type")
    private String memberType;
    
	/**
	 * 
	 */
    @Column(name="card_no")
    private String cardNo;
    
	/**
	 * 
	 */
    @Column(name="mobile_phone")
    private String mobilePhone;
    
	/**
	 * 
	 */
    @Column(name="customer_no")
    private String customerNo;
    
	/**
     * 门店编号
     */
    @Column(name="store_no")
    private String storeNo;
    
    /**
     * 微信用户标识ID
     */
    @Column(name = "we_openid")
    private String weOpenid;

	/**
	 * 
	 */
    @Column(name="id_no")
    private String idNo;
    
	/**
	 * 
	 */
    @Column(name="post_no")
    private String postNo;
    
	/**
	 * 
	 */
    @Column(name="email")
    private String email;
    
	/**
	 * 
	 */
    @Column(name="address")
    private String address;
    
	/**
	 * 
	 */
    @Column(name="status")
    private String status;
    
	/**
	 * 
	 */
    @Column(name="remarks")
    private String remarks;
    
	/**
	 * 
	 */
    @Column(name="creator")
    private String creator;
    
	/**
	 * 
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@Column(name="create_time")
    private Date createTime;
    
	/**
	 * 
	 */
    @Column(name="modifier")
    private String modifier;
    
	/**
	 * 
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@Column(name="modify_time")
    private Date modifyTime;
    
    
    
    public void setId(Integer id){
    	this.id = id;
    }
    public String getMemberNo(){
    	return this.memberNo;
    }
    
    public void setMemberNo(String memberNo){
    	this.memberNo = memberNo;
    }
    public String getMemberName(){
    	return this.memberName;
    }
    
    public void setMemberName(String memberName){
    	this.memberName = memberName;
    }
    public String getMemberType(){
    	return this.memberType;
    }
    
    public void setMemberType(String memberType){
    	this.memberType = memberType;
    }
    public String getCardNo(){
    	return this.cardNo;
    }
    
    public void setCardNo(String cardNo){
    	this.cardNo = cardNo;
    }
    public String getMobilePhone(){
    	return this.mobilePhone;
    }
    
    public void setMobilePhone(String mobilePhone){
    	this.mobilePhone = mobilePhone;
    }
    public String getCustomerNo(){
    	return this.customerNo;
    }
    
    public void setCustomerNo(String customerNo){
    	this.customerNo = customerNo;
    }
    
    public String getStoreNo() {
		return storeNo;
	}
	public void setStoreNo(String storeNo) {
		this.storeNo = storeNo;
	}
	public String getWeOpenid() {
		return weOpenid;
	}
	public void setWeOpenid(String weOpenid) {
		this.weOpenid = weOpenid;
	}
    
    public String getIdNo(){
    	return this.idNo;
    }
    
    public void setIdNo(String idNo){
    	this.idNo = idNo;
    }
    public String getPostNo(){
    	return this.postNo;
    }
    
    public void setPostNo(String postNo){
    	this.postNo = postNo;
    }
    public String getEmail(){
    	return this.email;
    }
    
    public void setEmail(String email){
    	this.email = email;
    }
    public String getAddress(){
    	return this.address;
    }
    
    public void setAddress(String address){
    	this.address = address;
    }
    public String getStatus(){
    	return this.status;
    }
    
    public void setStatus(String status){
    	this.status = status;
    }
    public String getRemarks(){
    	return this.remarks;
    }
    
    public void setRemarks(String remarks){
    	this.remarks = remarks;
    }
    public String getCreator(){
    	return this.creator;
    }
    
    public void setCreator(String creator){
    	this.creator = creator;
    }
    public Date getCreateTime(){
    	return this.createTime;
    }
    
    public void setCreateTime(Date createTime){
    	this.createTime = createTime;
    }
    public String getModifier(){
    	return this.modifier;
    }
    
    public void setModifier(String modifier){
    	this.modifier = modifier;
    }
    public Date getModifyTime(){
    	return this.modifyTime;
    }
    
    public void setModifyTime(Date modifyTime){
    	this.modifyTime = modifyTime;
    }
    
    @Override
	public Integer getId() {
		// TODO Auto-generated method stub
		return this.id;
	}
}
